how can pass option array in postman

hello,
how can pass array value in postman.
option={"227":"19","228":"24"}
Hamdan ShafiqPHP Full Stack DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pawan KumarDatabase ExpertCommented:
Please use like []
Square brackets.


option=["227":"19","228":"24"]
0
Hamdan ShafiqPHP Full Stack DeveloperAuthor Commented:
Warning: array_filter() expects parameter 1 to be array, string given in
0
Pawan KumarDatabase ExpertCommented:
Pls provide complete code. How you are receiving the values.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Julian HansenCommented:
You can't put that object into an array. An associative array in JavaScript is an object,

This is not going to work
option=["227":"19","228":"24"] 

Open in new window


What is the API you are trying to call?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hamdan ShafiqPHP Full Stack DeveloperAuthor Commented:
I have fixed.thank you
Screenshot-2017-12-11-16.17.36.png
0
Pawan KumarDatabase ExpertCommented:
Could you please post your fix?
1
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.