0

This question is specific to use of ThunderClient; I've looked at numerous questions and answers related to the Github API with cURL etc; that's not my use case. I have done what I believe should replicate the requirements in ThunderClient, but I'm getting 404 errors when trying to create a gist.

Here's what I'm doing:

enter image description here

My token is entered the Auth tab, under Bearer. The token was just created, valid for 30 days, specific for use with gists.

I've also tried using a form in the body, but the same 404 results.

enter image description here

The headers seem to follow the requirements. I'm specifically asking about ThunderClient, because I've offered to help in a classroom, and the instructor asked specifically that this be shown in this way to the class: they'll start adding this code to a program about a week after, but they need to be able to play with the API first, and changing the client from ThunderClient (which I like) isn't my decision... so I'm stuck, with my incompetence exposed. Anyone see a problem?

enter image description here

Dan Donaldson
  • 1,061
  • 1
  • 8
  • 21
  • OK, I feel like a dope. I'll leave the question up, but if people think it ought to be deleted, I will. The answer is: the trailing slash on the request url. I removed it, and it works fine... – Dan Donaldson Nov 16 '22 at 06:51

0 Answers0