Candidate Information

Name

Proboth
Ravihara

Email

raviharaproboth94@gmail.com

Mobile

+94772428396

date of Birth

May 14, 1994

Are you willing to move to Muscat - Oman?

Yes

Monthly Salary Expectation

USD 1,300.00

Available to Join

Within a Week

Review CV

Candidate Skills

Work Experience

Work
4-6

Development skills

PHP
HTML
CSS
Javascript
Wordpress
Elementor
Advanced Custom Fields (ACF)
JetEngine
React Native
AppGyver
Flatter
Objective C
Swift
Firebase
GitHub
RestAPI
Payment Gateway Integration
JSON / XML

Javascript object array

				
					const qs = `?dd-products%5B0%5D%5Bproduct-id%5D=16&add-products%5B0%5D%5Bquantity%5D=5&add-products%5B0%5D%5Bprice%5D=25.000&add-products%5B1%5D%5Bproduct-id%5D=17&add-products%5B1%5D%5Bquantity%5D=7&add-products%5B1%5D%5Bprice%5D=84.000&add-products%5B2%5D%5Bproduct-id%5D=15&add-products%5B2%5D%5Bquantity%5D=10&add-products%5B2%5D%5Bprice%5D=100.000&product-name=0&quantity=0&price=0&object_id=31`

const params = new URLSearchParams(qs)

const obj = {}
for (const key of params.keys()) {
  if (params.getAll(key).length > 1) {
    obj[key] = params.getAll(key)
  } else {
    obj[key] = params.get(key)
  }
}

console.log(obj)
// { product-id: ' 5', quantity: '10 ', price : ' 100', product-name:' 0' ,sort: 'ASE' }
				
			

RestAPI

				
					post_params = ([ { ' product-id' : '5', 'quantity' : '10'},
                               { 'price' : '100',   'product-name' : '0' },
                                  ...
                             ]);
post(url, post_params);