How to issue Print API in windows setup

I have OctoPrint setup on windows environment. And my upload directory is under c:\users...\AppData....

Can I use the POST API http://localhost:5000/api/files/local/ with body
{"command":"select", "print":"true"}.

How should I give the path file to the windows directory? Can someone share api url for this?

Thanks

http://localhost:5000/api/files/local/gcodefilename

I'm not quite sure, but try "file" instead of "http" in the address field of the windows file browser

Set headers:

Content-Type: application-json
X-Api-Key: yourAPIkey

Send it to the port 80 rather than the 5000. It should still work.