loduis / teamwork.com-project-management

PHP API for Teamwork.com
https://developer.teamwork.com/
MIT License
70 stars 59 forks source link

Inserting a task works but throws a 404 error? #33

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello when I insert a task witht he api it seems to work fine except the response show this error. Am I doing something wrong? I would just leave it but i need the response to be something else for my program. thanks in advance.

Array
(
    [appVersionNo] => 2.4.21
    [Cache-Control] => private, must-revalidate, max-stale=0, max-age=0, post-check=0, pre-check=0
    [Cache-control] => no-cache="set-cookie"
    [Content-Type] => application/json; charset=utf-8
    [Date] => Fri, 16 Jun 2017 17:33:34 GMT
    [ETag] => ""
    [P3P] => CP="Teamwork does not have a P3P policy"
    [Set-Cookie] => Array
        (
            [0] => tw-auth=ganC38o8yRzk1Fv4TW3XElN7wQ9-37007; Path=/; HTTPOnly;
            [1] => CFID=268309332; HttpOnly;expires=Sun, 09-Jun-2047 17:33:34 GMT;path=/
            [2] => CFTOKEN=e91405d74e68cbbd-F3C382F3-E469-2421-2D95881C1923C6BB; HttpOnly;expires=Sun, 09-Jun-2047 17:33:34 GMT;path=/
            [3] => JSESSIONID=3830c708cb8638be787875676104b8293233;path=/; HttpOnly
            [4] => PROJLB=s4; path=/
            [5] => AWSELB=8B15FD710A77EA50525ECD63053102FA3A0A0BA1EA4CE347993268963BD63A51314132B163941871D818CF5DD2BA4A6290D6CECA80A6F7F70B5A562BE5F5395192F3017E42;PATH=/
        )

    [twregion] => US
    [twserver] => webserver4
    [X-lastUpdated] => 2017-06-16T17:33:34Z
    [X-Powered-By] => ASP.NET
    [Content-Length] => 40
    [Connection] => keep-alive
    [Status] => 404
    [Method] => POST
    [X-Url] => https://creativeservices.teamworkpm.net/todo_lists/1010559/todo_items.json
    [X-Request] => {"todo-item":{"content":"6674_aaa","notify":true,"description":"ddd","due-date":20170617,"start-date":20170616,"private":false,"estimated-minutes":1000,"responsible-party-id":["37007"],"pendingFileAttachments":false}}
    [X-Action] => todo_lists/1010559/todo_items
    [X-Authorization] => BASIC aW5kaWFuYTMyOGdlcm1hbnk6eHh4
)