Search
 
SCRIPT & CODE EXAMPLE
 

PHP

How to send JSON format data in postman to django models that have a foreign key to another model

step 1: get all the articles with postman
step 2: copy one of the id's of the articles
step 3: paste that id to articleId like shown below, if id is 2 then you should right like this

{
    "userId":"153344",
    "location":"Ethiopia",
    "eventType":"1",
    "articleId":"2",
    "communityId":"1234567",
    "source":"1",
    "timestamp":"123456"
    
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel 7 factory tinker 
Php :: PHP Superglobal - $_GET 
Php :: check not empty in laravel blade 
Php :: redirect www to non-www wordpress multisite 
Php :: expiry date alert in php 
Php :: mysqli_query() expects parameter 1 to be mysqli 
Php :: nwidart/laravel-modules seed 
Php :: tina4 save file to database in orm 
Php :: php csv to multirow array $_FILES 
Php :: YYYYMMDDTHHMMSSZ php 
Php :: parameterize constructor mpdf php 
Php :: static functions php 
Php :: get my account orders page url woocommerce 
Php :: cakephp 3 
Php :: import data from csv laravel 
Php :: ttl jwt 
Php :: Create mocking dependency in unit test Laravel 
Php :: laravel join with count 
Php :: laravel migration add contraint to other database 
Php :: laravel {{}} not being rendered 
Php :: Laravel 9 localization not working on live server 
Php :: how hide hr tag in post wordpress 
Php :: how to remove warning in php 
Php :: htaccess file for multisite 
Php :: escape class wordpress 
Php :: merge two entity symfony 
Php :: php inline variables string 
Php :: sync fetch eloquent laravel 
Php :: laravel illuminate filesystem not found 
Php :: Drupal 9 how to pass arguments to custom blocks 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =