What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-20 12:24:09
alpaca examples
import alpaca_trade_api as tradeapi # authentication and connection details api_key = 'Insert_your_api_key_here' api_secret = 'Insert_your_api_secret_here' base_url = 'https://paper-api.alpaca.markets' # instantiate REST API api = tradeapi.REST(api_key,... Add solution -
PHP 2021-10-19 02:59:03
paypal popup php code
<!DOCTYPE html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://www.paypal... Add solution -
Other 2021-10-07 12:11:02
web application layers
There are 3 layers Front End: Presentation layer -Html, css, javascript codes for human eye Back End: Data Layer Relational Database = -Tables are structured related to each other -Each specific type of domain data is strored it's own table Non-Relat... Add solution -
Other 2021-10-03 15:59:06
why do you do rest api teting
The purpose of rest api testing is to record the response of rest api by sending various HTTP/S requests to check if rest api is working fine or not. Rest api testing is done by GET, POST, PUT and DELETE methods. Rest stands for Representational State ... Add solution -
Other 2021-09-24 04:37:01
what is request assured
It's a java library to automate Rest API. Add solution -
Other 2021-09-13 09:18:03
Add WordPress custom post type to rest api
/** * Register a book post type, with REST API support * * Based on example at: https://codex.wordpress.org/Function_Reference/register_post_type */ add_action( 'init', 'my_book_cpt' ); function my_book_cpt() { &n... Add solution -
PHP 2021-09-13 01:05:04
wordpress rest api orderby random
<?php /** * Add `rand` as an option for orderby param in REST API. * Hook to `rest_{$this->post_type}_collection_params` filter. * * @param array $query_params Accepted parameters. * @return array */ function add_rand_orderby_rest_post_colle... Add solution -
Shell/Bash 2021-09-10 22:59:02
how to check jenkins version in ubuntu
# Check <version> value in config file: /var/lib/jenkins/config.xml # or head -5 /var/lib/jenkins/config.xml| grep -oP ‘(?<=).*?(?=)’ # or open the jenkins consol, see at bottom right: Page generated: Nov 20, 2020 7:18:04 AMREST APIJe... Add solution -
Other 2021-09-08 04:43:03
what is soap service
RESTful supports JSON, XML, SOAP supports only XML REST is faster than SOAP based web services SOAP is more secure REST allows a greater variety of data formats, SOAP only allows XML. 1) SOAP - Communication happens using XML only - Request is... Add solution