Welcome to Katz - Pinoy Underground Forum

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
  • Compact Safety Notice
  • Weekly Grants Lottery is live! Win a 20,000 ₪ jackpot — tickets are just 30 ₪, drawn every week. Buy your tickets »

ANO PO YUNG PINAGKAIBA NUNG GET AND POST METHOD SA PHP?

G 152

gokigoks1

Transcendent
Member
Access
Member
Access
2 Year Silver Member 2y Silver
Joined
Feb 9, 2024
Messages
42
Reaction score
1
Points
8
grants
₲70
Kaka tackle lang po namin sa topic na PHP and di ko po masyado maintindihan yung diyan, pa help po need lang po like maintindihan ng mabuti :> and midterm exam po namin this week :<
GET and POST are Http terms po. In context to a REST API, Get is to pull data from a server, POST is to insert or pass data to a server. marami pa yan, meron pang PUT, DELETE, etc. hehe
 
H 129

honesty708

Abecedarian
Member
Access
Member
Access
1 Year Bronze Member 1y Bronze
Joined
Sep 25, 2024
Messages
67
Reaction score
2
Points
8
grants
₲73
Kaka tackle lang po namin sa topic na PHP and di ko po masyado maintindihan yung diyan, pa help po need lang po like maintindihan ng mabuti :> and midterm exam po namin this week :<
The GET method sends data via the URL, making it visible and limited in length, while the POST method sends data in the request body, keeping it hidden and allowing for larger data transfers
 
M 115

manikomaniko123

Abecedarian
Member
Access
Member
Access
1 Year Bronze Member 1y Bronze
Joined
Sep 27, 2024
Messages
55
Reaction score
2
Points
6
grants
₲60
Mostly visibility ng data sinesend sa target server na pinapadalahan mo.
Imagine mo nalang pag $_GET, mostly pinapakita mo sa lahat yung data (Sharing your name to other people)
Pag $_POST ayaw mo ipakita sa ibang tao kundi sa kausap mo lang (Chismis sa likod ng kaibigan niyo)
 
M 95

mintypage

Transcendent
Member
Access
Member
Access
1 Year Bronze Member 1y Bronze
Joined
Nov 14, 2024
Messages
39
Reaction score
0
Points
6
grants
₲55
Self explanatory. Get is for fetching, Post is for submissions. Default ng most operations is Get. (in general to not in PHP lang)
 
B 94

Baph

Transcendent
Member
Access
Member
Access
1 Year Bronze Member 1y Bronze
Joined
Dec 26, 2024
Messages
38
Reaction score
0
Points
6
grants
₲55
Get para kuha ng data Post if magpapasa ng data
 
Top Bottom