Apr 25 |
I am not able to attach file to existing ticket.
I am getting following error :-
HTTP status: 500{"status":"500","error":"Internal Server Error"}
URL used is:-
http://api.assembla.com/v1/spaces/gpsi-internal-projects/documents.json
Data posted in JSON is:-
$postData['document'] = array(
'ticket_id'=>'1136',
'name'=>'success.png',
'file'=>$data['file'],
);
In ticket id I have tried with both ticket number and ticket ID, but no success.
Regards
Shaveta
On Apr 28, 2017, at 05:49, shaveta sharma <sharma.s...@gmail.com> wrote:
<Auto Generated Inline Image 1.png>Apr 25
--
You received this message because you are subscribed to the Google Groups "Assembla API Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to assembla-api-d...@googlegroups.com.
To post to this group, send email to assembla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Auto Generated Inline Image 1.png>
You are not building query correctly for nested params. Please check :
https://bugs.php.net/patch-display.php?bug_id=67477&patch=add-http_build_query_develop-function&revision=latest
and use mentioned function. or http://php.net/manual/en/class.curlfile.php.