Been using API1 for many years
But having trouble getting results from API2
Any chance of of some nice person posting an example of working code please?
I use VS C# , but any code would be much appreciated
Search the forum as per rules at FAQ - Manager Forum ,
When you search some examples are provided, especially by @Mabaega, so include him in the filter options to narrow down your search.
1 Like
Try these steps
- Create Access Token (
Settings - Access Token
) and note down the ApiEndpoint
andSecret
. - Goto
https://editor-next.swagger.io
- File - Import your api
Endpoint
- Click Authorize button and Paste
Secret
. - Try some of the existing api paths.
- Copy the
curl content
and paste it into ChatGPT or other AI. - And ask AI >> help me make C# code to access an api using HttpClient and display the Server Response to the Console.
AI should give you the complete code to access Manager Api2.
This how our Forum Bot help me to generate code.
Thank you
Got it working now - thx again
API2 is a wonderful addition - so quickβ¦
Thx also for the tip on generating code using AI - the code is amazingly good