Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8171387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:26:45+00:00 2026-06-06T21:26:45+00:00

I understand the Drupal Services Module, and have node creation, and user authentication working.

  • 0

I understand the Drupal Services Module, and have node creation, and user authentication working. I am trying to upload a file (an image) from android that will populate a node image field. My understanding of Services is pretty good. I have enabled the file resource in my service. I assume to create the file, I will POST my data to my-server/service-endpoint/create. The big question I can’t find anywhere is what data is needed, and what is the structure of the JSON that I will send since I will be using JSON as the interface?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:26:46+00:00Added an answer on June 6, 2026 at 9:26 pm

    Very simple this one.. The data is here…
    http://drupanium.org/api/82

    Then just recreate the array they list as a JSON object.. only required parameter is file.. so
    {“file”:FILE_NAME}

    The correct url is http://www.my-site.com/%5BREST-ENDPOINT%5D/file and then POST the data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a working drupal batch process. In it I want to copy image
I am using drupal 7 with apachesolr module. I have an external file field
I'm new to drupal and I'm trying to understand installation profiles. Is an installation
i'm in need of a drupal module which gives a slideshow from the images
Hello I am trying to generate a Drupal node which would be similar to
I'm writing a Drupal 6 module that sends a user ID + a randomly
I'm looking at the slow query log from a drupal-based webapp, and have lines
The email field in user profiles in Drupal is as far as i understand
The Drupal 6 menu module hides links to content that the current user does
I'm trying to hide Revision information from my users who do not understand what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.