Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Problems in uplaoding Files to Box using Curl Calls - API

New post

Comments

6 comments

  • Official comment
    Alex Novotny

    Hi! 

    Can you send me the syntax you are using for your CURL call? 

    Thanks, 

    Alex, Box Developer Advocate

    Comment actions Permalink
  • RTSBox

    Hi, Thanks for getting back to me.
    This is my API call you can clearly see the call and response as well.


    I am using this CURL given at official documentation.
    Please help.
    Thank You!

    0
    Comment actions Permalink
  • Alex Novotny

    Can I see the body tab? You should be able to select a file. 

    0
    Comment actions Permalink
  • RTSBox

    Hey, Thanks again. I did as you said but here comes another issue:


    0
    Comment actions Permalink
  • Alex Novotny

    Ah! the syntax in the value field is wrong. 

    Try it similar to this: 

    {
    "name": "Photo.png",
    "parent": {
    "id": "124132"
    }
    }
    1
    Comment actions Permalink
  • RTSBox

    Hi,
    Thank You so much! Mr. Alex
    It is working fine.

    1
    Comment actions Permalink

Please sign in to leave a comment.