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

  • Home
  • SEARCH
  • 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 8592133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:41:02+00:00 2026-06-11T23:41:02+00:00

If I make a HTTP POST to riak, i.e http://localhost:8098/riak/mybucket along with JSON-encoded data

  • 0

If I make a HTTP POST to riak, i.e http://localhost:8098/riak/mybucket along with JSON-encoded data {name: "John Doe"}, the object is saved as expected.

However, this data will be assigned to an id set by Riak automatically, something like WAqRNgxZl10FK0F3FLuorByNHgN.

Is it possible to make Riak return this id in the response of the HTTP POST?

  • 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-11T23:41:03+00:00Added an answer on June 11, 2026 at 11:41 pm

    According to the Riak documentation, it returns the new key/ID in the Location header.

    In the output, the Location header will give the you key for that
    object. To view the newly created object, go to
    “http://127.0.0.1:8091/Location” in your browser.

    You can see the docs here – Scroll down to “Store a new object and assign random key “

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

Sidebar

Related Questions

I'm looking to make an HTTP post request given the raw data that I
How can I make an HTTP POST request and send data in the body?
I make HTTP calls. I send data with a POST method. I do not
I want to make a HTTP Post request from C#. This request has a
I'm trying to make a simple HTTP post a endpoint with ONLY url arguments.
I'm using jQuery to make an Ajax call using an Http Post in ASP.NET
I wanted to make a post request in this website: http://www.prezup.info/index.php?page=films in order to
How can I make a HTTP PUT request in Perl that contains application/x-www-form-urlencoded data?
I need to make HTTP POST commands using R. Are there any R http
I'm trying to make a simple HTTP POST request, and I have no idea

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.