skip to Main Content

C# RestSharp JSON Syntax

I seem to have a syntax problem with my JSON body. The code is intended to retrieve the balance from LetterXpress using an API, but instead of being able to authenticate, I receive the response: ("{"message":"Unauthorized."}") The request works fine…

VIEW QUESTION

Having issues running JSON script in Python

Whenever I try to run the script using the below code I get this error, requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) import requests r = requests.get('https://reqbin.com/echo/get/json') print(r.json()) I don't get it, it seems simple and I was…

VIEW QUESTION
Back To Top
Search