testing recent severicj

Description

// After sending the POST request to Freelancer API
$response = Http::withHeaders($headers)->post('https://www.freelancer-sandbox.com/api/projects/0.1/projects/', $projectData);
$responseBody = $response->json(); // Get the response body and decode JSON

\Log::info("API Request Response: " . $response->body()); // Log the raw response

// Check if the response has a 'status' and 'result' key, and the status is 'success'
if (isset($responseBody['status']) && $responseBody['status'] === 'success' && isset($responseBody['result']['id'])) {
$freelancerProjectId = $responseBody['result']['id']; // Extract the project ID

// Update the current ProjectRole with the freelancerProjectId
$projectRole->freelancerProjectID = $freelancerProjectId; // Assuming 'freelancerProjectID' is the correct column name in your ProjectRoles table
$projectRole->save();

\Log::info("Updated ProjectRole with FreelancerProjectID: " . $freelancerProjectId);
} else {
\Log::error("Failed to get project ID from Freelancer API response");
// Handle error or fallback
}

Client info

testing recent severicj
eya****mad
The client's account will appear to you if they contact you

Beware of scams

If you are being asked to pay a security deposit, or if you are being asked to chat on Telegram, WhatsApp, or another messaging platform, it is likely a scam. Report these RFPs or contact Support for assistance.

Proposals

Browse proposals from our Suppliers

0

|
Verified account
Graphics & Design
$105.26 /
90 days
meow

RFP Roles

Required skills

Album Cover Design
Budget
$34.00 – $344.00
Budget type
Fixed price
Status
Active

Required skills

mobile development
Budget
$2,333.00 – $233,333.00
Budget type
Fixed price
Status
Active