I successfully get a token with a logon, and then I try to make a new case request. Unfortunately that is the extent of the correct use of the API.
I am a low-level c++ developer - not an HTTP guy - I am at a loss about how I am supposed to proceed after the token is obtained.
I did the following:
Sending to URL: https://myaccount.fogbugz.com/api.asp?cmd=logon&email=tim@myaccount.com&password=password
Response: ?xml version="1.0" encoding="UTF-8"?>
Sending to URL: https://myaccount.fogbugz.com/api.asp?cmd=new?sTitle=Testing?sEvent=SomeContent&token=k6osplnkrqh6andvii5gacgd0sfqf2
Response: ?xml version="1.0" encoding="UTF-8"?>
Sending to URL: https://myaccount.fogbugz.com/api.asp?cmd=logoff&token=k6osplnkrqh6andvii5gacgd0sfqf2
Response: ?xml version="1.0" encoding="UTF-8"?>
What am I doing wrong? I don't see any cases created.
I am also unsure about what the proper way to send file attachments and long text is - surely this is not all just put in the url?
I am using C++ and curl. This all has to be done programmatically from our app.
Thanks
EDIT
META [ AHHHRRRGG!!!
How do I show the xml responses on this platform. SE is great, except it is brain dead if I try to show a server response... ]