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 8504203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:57:45+00:00 2026-06-11T01:57:45+00:00

I want to post a json with one line of text ex. Hello, I’m

  • 0

I want to post a json with one line of text ex. "Hello, I'm waiting for you"

I tried this: { "":"Hello, I'm waiting for you" }

But doesn’t work.

I tried to post only the text, but that doesn’t work.
And I tried { "Hello, I'm waiting for you" } as well, but as I suspected it is a malformed JSON.

EDITED:
The goal is to send this HTTP REQUEST

POST /controller/action HTTP/1.0
Host: sample.net
Authorization: Basic falseSignOfPasswordAndUser
Content-Type: application/json
"Hello, I'm waiting for your"
  • 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-11T01:57:46+00:00Added an answer on June 11, 2026 at 1:57 am

    As petesiss said you could said an array, but that seems overkill. I would advise you to revise your protocol, or not use json at all.

    EDIT: to sum up the discussion in the comments : OP didn’t need to send JSON, the protocol only specified he would receive a answer to his request in JSON.
    So he sent plain text, it worked and unicorns started walking the earth again (or nearly).

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

Sidebar

Related Questions

For example I have this ajax function but I can call only one json
I used Ajax POST to update a JSON object but when I tried to
I have a nested json. I want to post it as a form input
I want to post on twitter wall but don't want that user can edit
I don't understand one thing. If I want to get JSON data (key-value-pairs) from
I have a JSON object similar to this one: { name: Cain, parents: {
i want to post data on a server and i am using jSON webservice.
I've this problem, I want to perform HTTP request from one of my controllers
So I want to target one specific device token via Urban Airship, but no
I want to post a forma poupup window. Problem is, the form posts successfully

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.